package com.hx.mapper;

import com.hx.entity.Department;
import com.hx.entity.Employee;

import java.util.List;

public interface EmployeeMapper {

    Employee findByIdAndDeptAndLocation(Integer id);

    //根据部门id查询员工信息findByDeptId
    List<Employee>findByDeptId(Integer deptId);
    List<Employee> findAll();
    List<Employee> finAllAndEmp();
}
